import com.sun.scenario.effect.impl.sw.java.JSWBlend_SRC_OUTPeer;

import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        System.out.println("Hello World");
    }


    //求既能被3整除，又能被5整除的数据
    /*public static void main(String[] args) {
        int i = 1;
        while(i <= 100){
            if((i % 3 == 0)&&(i % 5 == 0)) {
                System.out.println(i);
                i++;
                continue;
            }
            i++;
        }
    }*/


    //求1！~5！的和
   /* public static void main(String[] args) {
        int n = 1;
        int ret = 1;
        int sum = 0;
        while(n <= 5){
            ret *= n;
            sum += ret;
            n++;
        }
        System.out.println(sum);
    }*/


    /*public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        boolean flag = true;
        while(flag){
            int score = scanner.nextInt();
            if(score > 90){
                System.out.println("奖励一个大鸡腿");
            }
            else if(score >60){
                System.out.println("多学习");
            }
            else {
                System.out.println("还吃饭，吃大比兜吧！你！");
            }
        }
    }*/


    //学校课堂代码练习
    /*public static void main(String[] args) {
        double j = 2.0 / 3;
        double i = 2000;
        int day = 0;
        while(i>1){
            i *= j;
            day++;
        }
        System.out.println("需要的天数："+day);
    }*/


    //打印9*9乘法表
    /*public static void main(String[] args) {
        for(int i=1; i<=9; i++){
            for(int j=1; j<=i; j++){
                System.out.print(j+"*"+i+"="+j*i+"\t");
            }
            System.out.println();
        }
    }*/


    //判断奇数和偶数
    /*public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int i = scanner.nextInt();
        if(i % 2 == 0){
            System.out.println("偶数");
        }
        else {
            System.out.println("奇数");
        }
    }*/


    //打印1000~2000之间的闰年
    /*public static void main(String[] args) {
        for(int year=1000; year<=2000; year++){
            //判断闰年
            if(((year % 4 == 0)&&(year % 100 != 0))||(year % 400 == 0)){
                System.out.println(year+ "is leapyear");
            }
        }
    }*/
}
